package com.jjyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jjyu.entity.Favorite;

import java.util.List;

public interface FavoriteService  extends IService<Favorite> {
    List<Favorite> getFavoritesByUserId(Integer userId);
    boolean is_existsFavorite(int userId, int restaurantId);
}